package com.tywj.panda.customer.common.provider

import android.app.Activity
import com.tywj.lib.core.common.view.BaseFragment
import com.tywj.lib.route.IServiceProvider


/**
 * @desc 司机端组件导航接口
 * @author June Yang
 * @date 2020/6/20
 */

interface IDriverService : IServiceProvider {

    /**
     * 获取首页Fragment
     * @param activity Activity对象
     * @return 首页Fragment
     */
    fun getDriverHomeFragment(activity: Activity): BaseFragment

    /**
     * 获取我的Fragment
     * @param activity Activity对象
     * @return 我的ragment
     */
    fun getDriverUserFragment(activity: Activity): BaseFragment

}